<?php
include( 'init.php' );

$callback =  'http://'. $_SERVER['HTTP_HOST'].'/callback.php' ;

$o = new WeiboOAuth( WB_AKEY , WB_SKEY  );

$keys = $o->getRequestToken($callback);




$aurl = $o->getAuthorizeURL( $keys['oauth_token'] ,false , $callback );

$_SESSION['keys'] = $keys;
$is_not_login = true; 
include './templates/index.php';

?>
